﻿@{
    Layout = null;
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>后台首页</title>
    <link href="@Url.Content("~/Content/blue/Admin/Style.css")" rel="stylesheet" type="text/css" />
    
    <style type="text/css">
		<!--
		.style1 {color: #999}
		-->
	</style>
</head>
<body class="ContentBody">
  <div class="MainDiv">
	
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="CContent">
		  <tr>
		 	<th class="CTitle">欢迎使用LevenBlog</th>
		  </tr>
		  <tr>
		    <td class="CPanel">
		        <div id="updateInfo" style="background:ffffe1;border:1px solid #89441f;padding:4px;display:none"></div>
		    <script>
		        var CVersion = "2.0.0";
		        var CDate = "2008-08-08";
		    </script>
		    
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			 <tr>
				 <td valign="top" style="padding:5px;width:140px"><img alt="" src="@Url.Content("~/Content/blue/admin/images/icons/ControlPanel.png")"/></td>
				 <td valign="top">
				    <div align="left" style="padding:5px;line-height:170%;clear:both;font-size:12px">
				     <b>当前软件版本:</b> <br/>
				     <b>软件更新日期:</b> <br/>
				     <b>日志数量:</b>  篇<br/>
				     <b>评论数量:</b>  个<br/>
				     <b>引用数量:</b>  个<br/>
				     <b>标签数量:</b> <br/>
				     <b>会员数:</b>  人<br/>
				     <b>访问次数:</b> 次<br/>
				     <b>最高在线:</b>  人<br/>
				    </div>    
				 </td>
			 </tr>
			</table>
		
		</td></tr>
        
        <tr>
		    <td class="CPanel">
		    <div class="SubMenu"><a href="@Url.Action("config")">设置基本信息</a> |
		     <a href="@Url.Action("clearcache")">清理服务器缓存</a></div>
			 
		    @using (Html.BeginForm())
            {
                      <fieldset>
		                <legend> 用户注册与过滤</legend>
                        <div align="left">
                         <table border="0" cellpadding="2" cellspacing="1">
		  		            <tr><td width="180" align="right">是否允许注册</td><td width="300"><input name="isreg" type="checkbox" value="true" /> </td></tr>		     <tr>
		                     <td width="180" valign="top"><div align="right">注册名字过滤
		                          <div class="shuom">用"|"分割需要过滤的名字</div>              
		                          <div class="shuom"></div>
		                      </div></td>
		                      <td align="left"><textarea name="baduser" cols="50" rows="5">config.baduser</textarea></td>
		                    </tr>
		                    <tr>
		                      <td width="180" valign="top"><div align="right">IP过滤
		                          <div class="shuom">以下Ip地址将无法访问Blog</div>              
		                          <div class="shuom">暂时不支持通配符</div>
		                      </div></td>
		                      <td align="left"><textarea name="badip" cols="50" rows="5">config.badip</textarea></td>
		                    </tr>
		                    <tr>
		                      <td width="180" valign="top"><div align="right">关键字过滤
		                          <div class="shuom">以下关键字将被替换成*</div>              
		                          <div class="shuom">暂时不支持通配符和正则</div>
		                      </div></td>
		                      <td align="left"><textarea name="badchars" cols="50" rows="5">config.badchars</textarea></td>
		                    </tr>
		                 </table>
		                </div>
			            </fieldset>	<div class="SubButton">
		                  <input type="submit" name="Submit" value="保存配置" class="button"/> 
		                 </div>
              }
		</td>
        </tr>
        </table>
	
  </div>
 </body>
</html>
